package com.szrt.day20170427.designmodel.demo04;

public class StudentServiceImpl implements StudentService {

	@Override
	public void add(String studentName, String phone) {
		
		//System.out.println("记录开始时间");
		//long begin = System.currentTimeMillis();
		
		
		System.out.println("保存学生"+studentName +"成功...");
		
		//long end = System.currentTimeMillis();
		//System.out.println("记录结束时间");
		//System.out.println(end-begin);
	}

	@Override
	public String findByPhone(String phone) {
		
		//System.out.println("记录开始时间");
		//long begin = System.currentTimeMillis();
		
		System.out.println("查找成功...");
		
		//long end = System.currentTimeMillis();
		//System.out.println("记录结束时间");
		//System.out.println(end-begin);
		return null;
	}

}
